package com.log.log.service;

import java.util.Map;

/**
 * packageName com.agridata.log.service
 *
 * @author yanshuanglong
 * @version JDK 8
 * @interfaceName OperationLogger
 * @date 2024/7/31
 * @description TODO
 */
public interface OperationLogger {
    void log(String operationType, String dataTableName, String oldId, String name, String oldValue, String newValue, String username);

    Map<String, Object> queryForMap(String tableName, String primaryKeyField, String primaryKeyValue);
}
